<pre>
<?php
include "data.php";

echo (str_replace(",",",\n",json_encode($menu)));
echo "\n\n\n";
echo(str_replace(",",",\n",json_encode($navbar)));
?>
</pre>